#include<stdio.h>
int Sum(int x,int y)
{
    int i = 0;
    int sum = 0;
    for(i = x; i <= y; i++)
    {
        sum += i;
    }
    return sum;
}

int main()
{
    int a = 1,b = 5;
    int ret = Sum(a,b);
    printf("%d\n",ret);
    return 0;
}
